from transformers import pipeline

classifier = pipeline("sentiment-analysis")
res = classifier("I've been waiting for a HuggingFace course my whole life.")
print(res)

res = classifier(
    ["I've been waiting for a HuggingFace course my whole life.", "I hate this so much!"])

print(res)

classifier = pipeline("zero-shot-classification")
classifier(
    "This is a course about the Transformers library",
    candidate_labels=["education", "politics", "business"],
)
